/**
 * 
 */
package com.evl.core.vo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * 
 * @description: 前台基础vo对象
 * @version V1.0.0
 * 
 */
public class BaseResultVo implements Serializable
{

    /**
     * {变量说明}
     */
    private static final long serialVersionUID = -7978635757653362784L;

    @ApiModelProperty(value="响应标识",required=true,notes="true或者false,true代表请求成功，false为请求失败")
    private boolean result;

    @ApiModelProperty(value="失败详情",required=false,notes="result为false时，为具体错误详情")
    private String errorMessage;
    
    @ApiModelProperty(value="失败详情",required=false,notes="result为false时，错误代码")
    private String errorCode;
    
    @ApiModelProperty(value="响应时间",required=false,notes="接口响应的当前时间")
    private String respTime;

    @ApiModelProperty(value="响应对象",required=false,notes="接口成功后的响应对象")
    private Object data;
    
    public BaseResultVo(){
		this.result=true;
	} 
    
	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public String getRespTime() {
		return respTime;
	}

	public void setRespTime(String respTime) {
		this.respTime = respTime;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}
    

}
